
#include "AbstractGeometry.hpp"

namespace NSCore {

	AbstractGeometry::AbstractGeometry() :
		AbstractObject() {
		m_raw = vtkPolyData::New();
	}

	AbstractGeometry::~AbstractGeometry() {

	}

	Sp(vtkPolyData) AbstractGeometry::getPoly() {
		return m_raw;
	}

	void AbstractGeometry::setPoly(Sp(vtkPolyData) poly) {
		m_raw = poly;
	}

	TopoDS_Shape& AbstractGeometry::getTopo() {
		return m_shape;
	}

	void AbstractGeometry::setTopo(TopoDS_Shape& topo) {
		m_shape = topo;
	}

	int AbstractGeometry::getId() {
		return m_id;
	}

	void AbstractGeometry::setId(int id) {
		m_id = id;
	}


}
